package com.sixth.dao;

import com.sixth.entity.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @program: project01
 * @description:
 * @author: 老魏
 * @create: 2021-12-18 10:50
 **/
public interface EntryDao {

    List<Warehousing> getAllEntry(@Param("warehousing") Warehousing var1, @Param("limit") Limit var2, @Param("branchid") Integer var3, @Param("roleid") Integer var4);

    int getAllEntryCount(@Param("warehousing") Warehousing var1, @Param("branchid") Integer var2, @Param("roleid") Integer var3);

    List<Goods> getAllShoping(@Param("goods") Goods var1, @Param("limit") Limit var2, @Param("bid") Integer var3);

    int getAllShopingCount(@Param("goods") Goods var1, @Param("bid") Integer var2);

    List<Map> getAllWarehousings(@Param("staff") Staff var1, @Param("warehousing") Warehousings var2, @Param("id") Integer var3);

    int addAllEntry(@Param("warehousing") Warehousing var1);

    int addAllEntry2(@Param("id") Integer var1, @Param("goodsid") Integer var2, @Param("num") Integer var3, @Param("branchid") Integer var4);

    int addAllEntry3(@Param("warehousing") Warehousing var1);

    int addAllEntry4(@Param("id") Integer var1, @Param("goodsid") Integer var2, @Param("num") Integer var3);

    Integer entryLibrary(@Param("branchid") Integer var1, @Param("goodsid") Integer var2, @Param("chuKuNum") Integer var3);
}